import http from "@/api/index"

const getS = function(user){
    return http.get("/api1"+user)
}
const postS = function(user,datas){
    return http.post("/api1"+user,datas)
}
const putS = function(user){
    return http.put("/api1"+user)
}
const deleteS = function(user){
    return http.delete("/api1"+user)
}
export default {
    getS,
    postS,
    putS,
    deleteS,
}